package com.woniu.smallmedical.mapper;

import com.woniu.smallmedical.entity.TreeMenu;
import com.woniu.smallmedical.entity.User;

import java.util.List;

/**
 * @author author
 * @create 2021-09-29-10:47
 */
public interface TreeMenuMapper {
    //获取所有菜单
    List<TreeMenu> selectTreeMenu();
    //用户根据角色权限查看对应菜单
    User selectTreeMenuBySid(Integer sid);
}
